'''
# 海象运算符


str = 'asasasaqqqqqqqqqqqs'

if (n := len(str)) > 10:
    print(f"List is too long ({n} elements, expected <= 10)")
'''

'''
a = 10
b = 20
list = [1, 2, 3, 4, 5]

if (a in list):
    print('a in')
elif (b in list):
    print('b is in list')
else:
    print('a and b both not in list')

'''
'''
a = 20
b = 20

print(a is b, id(a) == id(b))

b = 30
print(a is not b, id(a) == id(b))
'''
'''
a = [1, 2, 3]
b = a
print(b is a, b == a)

b = a[:]
print(b is a, b == a)
'''

a = 10
b = 20

print((a and b), (a or b), not (a and b))
